package com.kgc.basicprovider.dao;


import com.kgc.basic.pojo.Good;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface GoodMapper {
    public List<Good> getAllGood(Map<String,Object> map);
    public int getGoodCount(Map<String,Object> map);
    public Good getGoodById(@Param("id") String id);
    public int addGood(Good good);
    public int updateGood(Good good);
    public int delGood(Map<String,Object> map);
    public int changeStock(Map<String,Object> map);
}
